# -*-coding:utf-8-*-

# sort 升序 sort(reverse=True) 降序
name_list = ["罗贯中", "曹雪芹", "吴承恩", "施耐庵"]
num_list = [10,2,6,8,4]
print(name_list.count("吴承恩"))
num_list.sort(reverse=True)
print(name_list)
print(num_list)

# 逆序(反转)
name_list.reverse();
print(name_list)